Fluent Assertions Documentation
FluentAssertions.Collections Namespace / GenericCollectionAssertions<TCollection,T,TAssertions> Class / NotContain Method
In This Topic
    NotContain Method (GenericCollectionAssertions<TCollection,T,TAssertions>)
    In This Topic
    Asserts that the current collection does not contain the supplied unexpected item.
    Overload List
    OverloadDescription
    Asserts that the current collection does not contain the supplied unexpected item.  
    Asserts that the collection does not contain any items that match the predicate.  
    Asserts that the current collection does not contain the supplied items. Elements are compared using their System.Object.Equals(System.Object) implementation.  
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also